package com.atguigu.serviceImpl;

import com.atguigu.feign.FeignAgent;
import com.atguigu.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *@ClassName: ConsumerServiceImpl
 *@Author: CJ
 *@Date: 2020-10-19 22:26
 */
@Service
public class ConsumerServiceImpl implements ConsumerService {

    @Autowired
    private FeignAgent feignAgent;

    @Override
    public String helloAgent() {
        return feignAgent.feignHello();
    }
}
